package org.zfes.snowier.zbss.xzy.biz.vedio.model;
import org.zfes.snowier.core.data.IBaseModel;
public class DeviceVedioDir extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public DeviceVedioDir() {}
	public DeviceVedioDir(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	  private java.lang.Long deviceId;
	@org.hibernate.validator.constraints.Length(min=0,max=60,message="设备编号长度不能大于60")
	  private java.lang.String deviceNum;
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="文件名长度不能大于100")
	  private java.lang.String fileName;
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="视频封面文件长度不能大于255")
	  private java.lang.String coverPic;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
 
	
	public DeviceVedioDir(Long deviceId, String deviceNum, String fileName) {
		super();
		this.deviceId = deviceId;
		this.deviceNum = deviceNum;
		this.fileName = fileName;
	}
	//<-------------------------------------------->
	public DeviceVedioDir setDeviceId(java.lang.Long deviceId){
	 this.deviceId=deviceId;
	 return this;
	}
	public java.lang.Long getDeviceId(){
		return this.deviceId;
	}
	public DeviceVedioDir setDeviceNum(java.lang.String deviceNum){
		this.deviceNum=deviceNum==null?null:deviceNum.trim();
	 return this;
	}
	public java.lang.String getDeviceNum(){
		return this.deviceNum;
	}
	public DeviceVedioDir setFileName(java.lang.String fileName){
		this.fileName=fileName==null?null:fileName.trim();
	 return this;
	}
	public java.lang.String getFileName(){
		return this.fileName;
	}
	public DeviceVedioDir setCoverPic(java.lang.String coverPic){
		this.coverPic=coverPic==null?null:coverPic.trim();
	 return this;
	}
	public java.lang.String getCoverPic(){
		return this.coverPic;
	}
	public DeviceVedioDir setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public DeviceVedioDir setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}

}
